// Pbar1Diffractor.h: interface for the P1Diffractor class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PBAR1DIFFRACTOR_H__A6B7445B_5FD5_11D1_93C7_006097737B41__INCLUDED_)
#define AFX_PBAR1DIFFRACTOR_H__A6B7445B_5FD5_11D1_93C7_006097737B41__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "Diffractor.h"

class Pbar1Diffractor : public Diffractor  
{
public:
	Pbar1Diffractor(char *DiffractorFile, 
				 Position *W1, Position *W2, Position *W3, char **atomLabel, int nAtom);

	virtual ~Pbar1Diffractor();

	void    TransformDerivatives(double   *IDerivative, 
								 Position *XDerivative);

private:	
	void    FourierTransform(Position *XValues);
	
	double  **v1, **v2;
};

#endif // !defined(AFX_P1DIFFRACTOR_H__A6B7445B_5FD5_11D1_93C7_006097737B41__INCLUDED_)
